package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName d_leave
 */
@TableName(value ="d_leave")
@Data
@Schema(name = "请假记录DLeave" ,description = "请假记录对象")
public class DLeave implements Serializable {
    @TableId
    @Schema(description = "请假记录Id")
    private Integer lid;

    @Schema(description = "房间Id")
    private Integer sid;

    @Schema(description = "请假类型")
    private String leaveType;

    @Schema(description = "请假结束时间")
    private Date leaveStartDate;

    @Schema(description = "请假结束时间")
    private Date leaveEndDate;

    @Schema(description = "请假描述")
    private String leaveDesc;

    @Schema(description = "房间号")
    private String apartmentId;

    @Schema(description = "记录更新那时间")
    private Date updateDate;

    private static final long serialVersionUID = 1L;
}